package com.pine.dcts.sql;

import java.util.Map;

public class OracleQueryTableSql extends AbsQueryTableInfoSql  implements IQueryTableInfoSql{
    @Override
    public String getQueryTableInfoSql(Map<String, Object> params) {
        return "select * from user_tables";
    }

    @Override
    public String getAllColumns(Map<String, Object> params) {
        return String.format("select * " +
                "from user_col_comments " +
                "where Table_Name='%s'" +
                "order by column_name",params.get("table"));
    }
}
